package com.edu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.ImportResource;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@ImportResource("classpath:spring/*.xml")
@MapperScan({"com.edu.dao"})
@EnableSwagger2
public class MainAppBooter {
    public static void main(String[] args) {
        SpringApplication.run(MainAppBooter.class, args);
    }
}
